//
//  CLLFoundationConst.swift
//  DemoNavBar
//
//  Created by YangHuan on 2019/12/13.
//  Copyright © 2019 YangHuan. All rights reserved.
//

import Foundation


public let appEnv:Int = 2

#if DEBUG

     public var BaseUrl: String {
          switch appEnv {
          case 1:
              return "https://app.goodjobs.cn/"
          case 2:
              return "https://app.gwb.goodjobs.test/"
        case 3:
            return "https://app.test.goodjobs.test/"
          
          default:
            return "https://app.goodjobs.cn/"
        }
      }

 
   public var SHARE_URL: String {
       switch appEnv {
       case 1:
           return "https://m.goodjobs.cn/"
       case 2:
           return "https://m.gwb.goodjobs.test/"
       case 3:
         return "https://m.test.goodjobs.test/"
       
       default:
           return "https://m.goodjobs.cn/"
       }
   }

  public var WS_HOST: String {
      switch appEnv {
      case 1:
          return "wss://chat.goodjobs.cn"
      case 2:
          return "wss://chat.gwb.goodjobs.test"
      case 3:
        return "wss://chat.test.goodjobs.test"
      
      default:
          return "wss://chat.goodjobs.cn"
      }
  }
#else

public let BaseUrl: String   = "https://app.goodjobs.cn/"
public let SHARE_URL: String = "https://m.goodjobs.cn/"
public let WS_HOST: String   = "wss://chat.goodjobs.cn"
#endif



